<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript">

	var arr = [11,12,13,14,15];
	
	for( var a in arr ){
		console.info(a);  // System.out
	}
	
	for( var a of arr ){
		console.info(a);  // System.out
	}
	

</script>



</head>
<body>

</body>
</html>